﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace TeamBuy.Common
{
    public interface ITeamBuyDeal
    {
        DateTime SetDealFinishedDate(int dealID,int currentStatus, DateTime dateFinished);
        int SetDealCurrentStatus(int dealID, int oldStatus, int currentStatus);
        bool SetDealSuccessedDate(int dealID, DateTime dateSuccessed);
        DataTable GetDealByID(int dealID);
        int PayDeal(int dealID, int quantity);
        int GetLeftDealNumber(int dealID);
    }
}
